import {
  request
} from '../helpers.js';

let debug = process.env.NODE_ENV != 'product';

export const getTableData = function(params) {
  return request({
    url: '/order',
    params: params,
  });
}

export const update = function(id,data){
	return request({
		url: '/order/'+id,
		method: 'put',
		data: data
	});
}